<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">

    <title> - 登录</title>
    <meta name="keywords" content="">
    <meta name="description" content="">
    <link href="/static/css/bootstrap.min.css" rel="stylesheet">
    <link href="/static/css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <link href="/static/css/animate.css" rel="stylesheet">
    <link href="/static/css/style.css" rel="stylesheet">
    <link href="/static/css/login.css" rel="stylesheet">
    <!--[if lt IE 9]>
    <meta http-equiv="refresh" content="0;ie.html" />
    <![endif]-->
    <script>
        if (window.top !== window.self) {
            window.top.location = window.location;
        }
    </script>

</head>

<body class="signin">
    <div class="signinpanel">
        <div class="row">
            <div class="col-sm-12">
                <form method="post">
                    {{form.csrf_token}}
                    <h4 class="no-margins">登录：</h4>
                    <p class="m-t-md">
                        {% for msg in form.email.errors %}
                            <p class="login-box-msg">{{msg}}</p>
                        {% endfor %}
                        {% for msg in form.password.errors %}
                            <p class="login-box-msg">{{msg}}</p>
                        {% endfor %}
                        {% for msg in get_flashed_messages()%}
                            <p class="login-box-msg">{{msg}}</p>
                        {% endfor %}
                    </p>
                    {{form.email}}
                    {{form.password}}
                    <p><a href="">忘记密码了？</a></p>
                    <small>没有账户？</small>
                    <a href="/auth/register">注册一个新账号</a>
                    {{form.submit}}
                </form>
            </div>
        </div>
        <div class="signup-footer">
            <div class="pull-left">
                &copy; 北京林业大学2019-2020
            </div>
        </div>
    </div>
</body>

</html>
